<%@ page import="com.future.Evaluation" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
  <g:set var="entityName" value="${message(code: 'evaluation.label', default: 'Evaluation')}"/>
  <title><g:message code="default.show.label" args="[entityName]"/></title>
</head>
<body>

<div class="body">
  <div class="nav">
    <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
    <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]"/></g:link></span>
    <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]"/></g:link></span>
  </div>
  <h1><g:message code="default.show.label" args="[entityName]"/></h1>
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <div class="dialog">
    <table>
      <tbody>

      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.name.label" default="Name"/></td>
        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "name")}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.ip.label" default="Ip"/></td>
        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "ip")}</td>
      </tr>

      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.email.label" default="Email"/></td>

        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "email")}</td>

      </tr>

      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.qq.label" default="Qq"/></td>

        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "qq")}</td>

      </tr>

      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.msn.label" default="Msn"/></td>
        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "msn")}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.task.label" default="Task"/></td>
        <td valign="top" class="value"><g:link controller="task" action="show" id="${evaluationInstance?.task?.id}">${evaluationInstance?.task?.encodeAsHTML()}</g:link></td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.evaluation.label" default="Evaluation"/></td>
        <td valign="top" class="value">${fieldValue(bean: evaluationInstance, field: "evaluation").decodeHTML()}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name"><g:message code="evaluation.dateCreated.label" default="Date Created"/></td>
        <td valign="top" class="value"><g:formatDate date="${evaluationInstance?.dateCreated}"/></td>
      </tr>
      </tbody>
    </table>
  </div>
  <div class="buttons">
    <g:form>
      <g:hiddenField name="id" value="${evaluationInstance?.id}"/>
      <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}"/></span>
      <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');"/></span>
    </g:form>
  </div>
</div>
</body>
</html>
